package com.bwda.dsrs.filecenter.domain.form.tsktask;

import javax.validation.constraints.NotNull;
import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "任务表")
public class TskTaskUpdateForm {

	@ApiModelProperty(value = "任务id", required = true)
	@NotNull(message = "任务id不能为空")
	private Long taskId;

	@ApiModelProperty(value = "任务名称")
	private String taskName;

	@ApiModelProperty(value = "任务中文名称")
	private String taskChineseName;

	@ApiModelProperty(value = "任务分组")
	private String taskGroup;

	@ApiModelProperty(value = "任务执行周期表达式")
	private String cronExpression;

	@ApiModelProperty(value = "任务执行周期表达式说明")
	private String cronDesc;

	@ApiModelProperty(value = "任务执行类")
	private String exeClass;

	@ApiModelProperty(value = "任务状态：0启用，1停用")
	private Long taskStatus;

	@ApiModelProperty(value = "执行状态：0待执行，1执行中")
	private Long exeStatus;

	@ApiModelProperty(value = "页面是否展示：0展示，1不展示")
	private Long displayFlag;

	@ApiModelProperty(value = "任务创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "任务描述")
	private String taskDesc;

}